package AgentTravel.LogicObjects;

import java.io.Serializable;

public class CityVisit implements Serializable 
{
	private int daysToStay;
	private String cityName;
	

	public CityVisit(String cityName, int daysToStay)
	{
		this.cityName = cityName;
		this.daysToStay = daysToStay;
	}
	/**
	 * @param daysToStay the daysToStay to set
	 */
	public void setDaysToStay(int daysToStay) {
		this.daysToStay = daysToStay;
	}

	/**
	 * @return the daysToStay
	 */
	public int getDaysToStay() {
		return daysToStay;
	}

	/**
	 * @param cityName the cityName to set
	 */
	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	/**
	 * @return the cityName
	 */
	public String getCityName() {
		return cityName;
	}
	
	@Override
	public String toString() {
		return cityName + ", stay:" + daysToStay;
	}
}
